/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.util;

import ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.B2bcollaborationsPackage
 * @generated
 */
public class B2bcollaborationsAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static B2bcollaborationsPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public B2bcollaborationsAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = B2bcollaborationsPackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected B2bcollaborationsSwitch<Adapter> modelSwitch =
		new B2bcollaborationsSwitch<Adapter>() {
			@Override
			public Adapter caseB2BCollaboration(B2BCollaboration object) {
				return createB2BCollaborationAdapter();
			}
			@Override
			public Adapter caseCollaborativeAgreement(CollaborativeAgreement object) {
				return createCollaborativeAgreementAdapter();
			}
			@Override
			public Adapter caseBusinessGoal(BusinessGoal object) {
				return createBusinessGoalAdapter();
			}
			@Override
			public Adapter caseQuantitativeGoal(QuantitativeGoal object) {
				return createQuantitativeGoalAdapter();
			}
			@Override
			public Adapter caseQualitativeGoal(QualitativeGoal object) {
				return createQualitativeGoalAdapter();
			}
			@Override
			public Adapter caseAgreementAtribute(AgreementAtribute object) {
				return createAgreementAtributeAdapter();
			}
			@Override
			public Adapter caseTradingPartner(TradingPartner object) {
				return createTradingPartnerAdapter();
			}
			@Override
			public Adapter casePartnerRole(PartnerRole object) {
				return createPartnerRoleAdapter();
			}
			@Override
			public Adapter casePublicBusinessInterface(PublicBusinessInterface object) {
				return createPublicBusinessInterfaceAdapter();
			}
			@Override
			public Adapter caseB2BRelationship(B2BRelationship object) {
				return createB2BRelationshipAdapter();
			}
			@Override
			public Adapter caseBusinessDocument(BusinessDocument object) {
				return createBusinessDocumentAdapter();
			}
			@Override
			public Adapter caseBusinessDocumentType(BusinessDocumentType object) {
				return createBusinessDocumentTypeAdapter();
			}
			@Override
			public Adapter defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	@Override
	public Adapter createAdapter(Notifier target) {
		return modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.B2BCollaboration <em>B2B Collaboration</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.B2BCollaboration
	 * @generated
	 */
	public Adapter createB2BCollaborationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.CollaborativeAgreement <em>Collaborative Agreement</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.CollaborativeAgreement
	 * @generated
	 */
	public Adapter createCollaborativeAgreementAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessGoal <em>Business Goal</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessGoal
	 * @generated
	 */
	public Adapter createBusinessGoalAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.QuantitativeGoal <em>Quantitative Goal</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.QuantitativeGoal
	 * @generated
	 */
	public Adapter createQuantitativeGoalAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.QualitativeGoal <em>Qualitative Goal</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.QualitativeGoal
	 * @generated
	 */
	public Adapter createQualitativeGoalAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.AgreementAtribute <em>Agreement Atribute</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.AgreementAtribute
	 * @generated
	 */
	public Adapter createAgreementAtributeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.TradingPartner <em>Trading Partner</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.TradingPartner
	 * @generated
	 */
	public Adapter createTradingPartnerAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.PartnerRole <em>Partner Role</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.PartnerRole
	 * @generated
	 */
	public Adapter createPartnerRoleAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.PublicBusinessInterface <em>Public Business Interface</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.PublicBusinessInterface
	 * @generated
	 */
	public Adapter createPublicBusinessInterfaceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.B2BRelationship <em>B2B Relationship</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.B2BRelationship
	 * @generated
	 */
	public Adapter createB2BRelationshipAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessDocument <em>Business Document</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessDocument
	 * @generated
	 */
	public Adapter createBusinessDocumentAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessDocumentType <em>Business Document Type</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ar.edu.utn.frsf.cidisi.upcolbpip.b2bcollaborations.BusinessDocumentType
	 * @generated
	 */
	public Adapter createBusinessDocumentTypeAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //B2bcollaborationsAdapterFactory
